<div class="w133 cpos_1" style="width: 100%;text-align: left;margin:10px;margin-top:-15px">
  <a href="<?php echo site_url('profile') ?>" style="color:#E06704">
    <?php echo $this->lang->line('label.welcom') . ' ' . userdata('end_user_display_name') ?>
  </a>, 
  <a href="<?php echo site_url('logout') ?>" style="color:#E06704">Logout</a>
</div>
<div style="width: 200px;margin-left:50px">
  <a href="<?php echo site_url('profile') ?>">
    <img style="max-width: 140px;max-height:150px" class="cpos_1 mg4"
         src="<?php echo site_url('admin/file_upload/get_img_from_path?path=end_user/' . userdata('end_user_avatar')) ?>"/>
  </a>
</div>